package com.gxa.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

@ApiModel(value = "供应商信息表")
public class Supplier {
  @ApiModelProperty(name = "supplier_Id",notes = "供应商编号",dataType = "String",required = true)
  private String supplier_Id;
  @ApiModelProperty(name = "supplier_Name",notes = "供应商名称",dataType = "String",required = true)
  private String supplier_Name;
  @ApiModelProperty(name = "supplier_Type_Id",notes = "外键，供应商类别",dataType = "String",required = true)
  private long supplier_Type_Id;
  @ApiModelProperty(name = "money_Date",notes = "余额日期",dataType = "String",required = false)
  private String money_Date;
  @ApiModelProperty(name = "opening_Accounts_Payable",notes = "期初应付款",dataType = "double",required = false)
  private double opening_Accounts_Payable;
  @ApiModelProperty(name = "opening_Prepayment",notes = "期初预付款",dataType = "double",required = false)
  private double opening_Prepayment;
  @ApiModelProperty(name = "vat_Rate",notes = "增值税税率",dataType = "String",required = false)
  private long vat_Rate;
  @ApiModelProperty(name = "status",notes = "状态",dataType = "String",required = false)
  private String status;
  @ApiModelProperty(name = "comm",notes = "备注",dataType = "String",required = false)
  private String comm;

  private Supplier_Type supplier_type;

  private List<Supplier_Contact_Peroson_Info> supplier_contact_peroson_infos;


  public Supplier_Type getSupplier_type() {
    return supplier_type;
  }

  public void setSupplier_type(Supplier_Type supplier_type) {
    this.supplier_type = supplier_type;
  }

  public List<Supplier_Contact_Peroson_Info> getSupplier_contact_peroson_infos() {
    return supplier_contact_peroson_infos;
  }

  public void setSupplier_contact_peroson_infos(List<Supplier_Contact_Peroson_Info> supplier_contact_peroson_infos) {
    this.supplier_contact_peroson_infos = supplier_contact_peroson_infos;
  }

  public String getSupplier_Id() {
    return supplier_Id;
  }

  public void setSupplier_Id(String supplier_Id) {
    this.supplier_Id = supplier_Id;
  }

  public String getSupplier_Name() {
    return supplier_Name;
  }

  public void setSupplier_Name(String supplier_Name) {
    this.supplier_Name = supplier_Name;
  }

  public long getSupplier_Type_Id() {
    return supplier_Type_Id;
  }

  public void setSupplier_Type_Id(long supplier_Type_Id) {
    this.supplier_Type_Id = supplier_Type_Id;
  }

  public String getMoney_Date() {
    return money_Date;
  }

  public void setMoney_Date(String money_Date) {
    this.money_Date = money_Date;
  }

  public double getOpening_Accounts_Payable() {
    return opening_Accounts_Payable;
  }

  public void setOpening_Accounts_Payable(double opening_Accounts_Payable) {
    this.opening_Accounts_Payable = opening_Accounts_Payable;
  }

  public double getOpening_Prepayment() {
    return opening_Prepayment;
  }

  public void setOpening_Prepayment(double opening_Prepayment) {
    this.opening_Prepayment = opening_Prepayment;
  }

  public long getVat_Rate() {
    return vat_Rate;
  }

  public void setVat_Rate(long vat_Rate) {
    this.vat_Rate = vat_Rate;
  }

  public String getStatus() {
    return status;
  }

  public void setStatus(String status) {
    this.status = status;
  }

  public String getComm() {
    return comm;
  }

  public void setComm(String comm) {
    this.comm = comm;
  }

  @Override
  public String toString() {
    return "Supplier{" +
            "supplier_Id='" + supplier_Id + '\'' +
            ", supplier_Name='" + supplier_Name + '\'' +
            ", supplier_Type_Id=" + supplier_Type_Id +
            ", money_Date='" + money_Date + '\'' +
            ", opening_Accounts_Payable=" + opening_Accounts_Payable +
            ", opening_Prepayment=" + opening_Prepayment +
            ", vat_Rate=" + vat_Rate +
            ", status='" + status + '\'' +
            ", comm='" + comm + '\'' +
            ", supplier_type=" + supplier_type +
            ", contact_peroson_infos=" + supplier_contact_peroson_infos +
            '}';
  }
}
